Skip to content

Enforce x64 compiler in native NMAKE builds#780

Merged
jtmaxwell3 merged 1 commit intomainfrom
chore/exclude32bitNative
Mar 23, 2026
Merged

Enforce x64 compiler in native NMAKE builds#780
jtmaxwell3 merged 1 commit intomainfrom
chore/exclude32bitNative

Conversation

@jasonleenaylor
Copy link
Contributor

@jasonleenaylor jasonleenaylor commented Mar 23, 2026

Add /options:strict and /favor:AMD64 to CL_OPTS so that if an x86 cl.exe is on the PATH
the build fails immediately instead of silently producing x86 binaries.


This change is Reviewable

Add /options:strict and /favor:AMD64 to CL_OPTS so that if an x86
cl.exe is on the PATH (e.g. from stale MSBuild node reuse), the build
fails immediately with error D8043 instead of silently producing x86
binaries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

NUnit Tests

    1 files  ±0      1 suites  ±0   5m 54s ⏱️ +6s
4 074 tests ±0  4 003 ✅ ±0  71 💤 ±0  0 ❌ ±0 
4 083 runs  ±0  4 012 ✅ ±0  71 💤 ±0  0 ❌ ±0 

Results for commit 853922b. ± Comparison against base commit e58af68.

@jtmaxwell3 jtmaxwell3 merged commit de383e0 into main Mar 23, 2026
6 checks passed
@jtmaxwell3 jtmaxwell3 deleted the chore/exclude32bitNative branch March 23, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants